#include "region.h"

Region::Region()
{
	listePoint = new vector<Point*>();
}

void Region::ajouterPoint(int x, int y)
{
	Point * temp = new Point(x,y);
	listePoint->push_back(temp);
}


int Region::getX(int x)
{
	return listePoint->at(x)->getX();
}

int Region::getY(int x)
{
	return listePoint->at(x)->getY();
}

int Region::getNbPoint()
{
	listePoint->size();
}